package com.spzx.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.payment.domain.PaymentInfo;

import java.util.Map;

/**
 * @ClassName PaymentInfoService
 * @Author 波
 * @Date 2024/8/16 15:51
 */
public interface PaymentInfoService extends IService<PaymentInfo> {
    /**
     * 保存支付订单信息
     * @param orderNo 订单号
     * @return PaymentInfo
     */
    PaymentInfo savePaymentInfo(String orderNo);

    /**
     * 更新订单支付状态
     * @param paramMap
     */
    void updatePaymentInfoStatus(Map<String, String> paramMap);
}
